# It is recommended to test the script on a local machine for its purpose and effects. # ManageEngine Desktop Central will not be responsible for any # damage/loss to the data/setup based on the behavior of the script. # Description: Script to Disable SMBV1 protocol for WannaCry / Wannacrypt Ransomware # Remarks: Restart the system after script executed successfully # Configuration Type - COMPUTER # =========================================================================================================================== Disable-WindowsOptionalFeature -Online -FeatureName "SMB1Protocol" -NoRestart